@media screen and (max-width: 640px) {
  .main {
    max-width: 640px;
  }
}